import * as Icons from "@ant-design/icons";
import React from "react";
// 动态渲染 Icon 图标
const customIcons: { [key: string]: any } = Icons;
export const addIcon = (name: string) => {
  return React.createElement(customIcons[name]);
};
